package cn.wolfcode.mapper;

import cn.wolfcode.domain.EmployeeNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeNoticeMapper {
    int insert(EmployeeNotice record);

    List<EmployeeNotice> selectAll();

    List<EmployeeNotice> selectStatus(Long id);

    void deleteByPrimaryKey(Long id);


    void updateReadStatus(@Param("userId") Long userId, @Param("noticeId") Long noticeId);
}